home *** CD-ROM | disk | FTP | other *** search
- #include <Gestalt.h>
- #include <SpeechRecognition.h>
-
- Boolean MyHasSpeechRecognitionMgr (void);
-
- Boolean MyHasSpeechRecognitionMgr (void)
- {
- OSErr myErr;
- long mySRVersion;
- Boolean myHasSRMgr = false;
-
- myErr = Gestalt (gestaltSpeechRecognitionVersion, &mySRVersion);
- if (!myErr)
- if (mySRVersion >= 0x0150)
- myHasSRMgr = true;
-
- return myHasSRMgr;
- }